package com.whut.monitor.service;

import com.whut.monitor.vo.Tree;
import com.whut.monitor.vo.PageFilter;
import com.whut.monitor.model.MachiningEntity;
import com.whut.monitor.vo.MachiningVo;

import java.util.List;

/**
 * Created by CFlower on 2017/11/7.
 */
public interface IMachiningService {
    List<MachiningVo> dataGrid(MachiningVo machine, PageFilter ph);

    Long count(MachiningVo machine, PageFilter ph);

    void add(MachiningVo machine);

    void delete(Integer id);

    void edit(MachiningVo machine);

    List<Tree> tree();

    List<MachiningEntity> getAllMachining();
}
